<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ page import="com.study.system.user.domain.User" %>
<%@ page import="com.study.system.utils.DataUtils" %>
<%@ page import="com.study.system.user.domain.UserDept" %>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" deferredSyntaxAllowedAsLiteral="true" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>打卡管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap-admin-theme.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap-admin-theme.css">

    <script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/bootstrap-dropdown.min.js"></script>


</head>
<%--导入js--%>
<script src="${pageContext.request.contextPath}/static/js/axios-0.18.0.js"></script>
<script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>

<body class="bootstrap-admin-with-small-navbar">

<%@include file="admin_header.jsp" %>
<div class="container">
    <div class="row">
        <%@include file="admin_means.jsp" %>
        <!-- content -->
        <div class="col-md-10">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <div class="text-muted bootstrap-admin-box-title">打卡管理系统</div>
                        </div>
                        <div class="bootstrap-admin-panel-content">
                            <ul>
                                <li style="text-align: center">个人信息</li>
                                <br>
                                <li>员工编号:${user.id}</li>
                                <br>
                                <li>员工姓名:${user.name}</li>
                                <br>
                                <li>员工部门:${user.dept}</li>
                                <br>
                                <li>
                                    员工入职时间:<%=DataUtils.getStringDate(((UserDept) request.getSession().getAttribute("user")).getDate())%>
                                </li>
                                <br>
                                <li>员工账号:${user.username}</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</body>
</html>